'It is recommended to test the script on a local machine for its purpose and effects. 
'ManageEngine Endpoint Central will not be responsible for any 
'damage/loss to the data/setup based on the behavior of the script.

'Description - Enables User Account Control (UAC)
'Configuration Type - COMPUTER
'==============================================================

Set WshShell = CreateObject("WScript.Shell")
myKey = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA"
WshShell.RegWrite myKey,1,"REG_DWORD"
Set WshShell = Nothing